package com.txsj.scan.bean;

import java.io.Serializable;

public class LoginBean implements Serializable {

    /**
     * success : true
     * type :
     * data : {"user_id":255385,"token":"61335147414C4D77626432697442744E584635676E413D3D","brand_id":"496240","mobile":"18311483762","comid":"548327"}
     *
     */

    private boolean success;
    private String type;
    private Data data;
    private String msg;
    private int code;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data implements Serializable {
        /**
         * user_id : 255385
         * token : 61335147414C4D77626432697442744E584635676E413D3D
         * brand_id : 496240
         * mobile : 18311483762
         * comid : 548327
         */

        private int user_id;
        private String token;
        private String brand_id;
        private String mobile;
        private String comid;

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getBrand_id() {
            return brand_id;
        }

        public void setBrand_id(String brand_id) {
            this.brand_id = brand_id;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getComid() {
            return comid;
        }

        public void setComid(String comid) {
            this.comid = comid;
        }
    }
}
